export default {
  height: 'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  addBtn: false,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  column: [
    // {
    //   label: "主键",
    //   prop: "id",
    //   type: "input",
    // },
    {
      label: "投注人",
      prop: "nickname",
      type: "input",
    },
    {
      label: "电话",
      prop: "phone",
      type: "input",
    },

    {
      label: "投注时间",
      prop: "createTime",
      type: "input",
    },


    {
      label: "A队",
      prop: "schedule.teamAName",
      formatter: (val) => {
        return val.schedule.teamAName;
      },
      type: "input",
    },
    {
      label: "B队",
      prop: "schedule.teamBName",
      formatter: (val) => {
        return val.schedule.teamBName;
      },
      type: "input",
    },
    {
      label: "租户ID",
      prop: "tenantId",
      type: "input",
    },
    {
      label: "赛程ID",
      prop: "scheduleId",
      type: "input",
    },
    {
      label: "投注积分数",
      prop: "betIntegral",
      type: "input",
    },
    {
      label: "获取积分",
      prop: "winIntegral",
      type: "input",
    },
    {
      label: "竞猜",
      prop: "guessType",
      type: "radio",
      search: true,
      dicData: [
        { label: '甲队胜', value: 'TEAM_A_WIN' },
        { label: '甲队败', value: 'TEAM_A_LOSS' },
        { label: '平', value: 'DRAW' },
        { label: '比分和单数', value: 'SINGULAR' },
        { label: '比分和双数', value: 'COMPLEX' }
      ]
    },
    {
      label: "竞猜结果",
      prop: "guessResult",
      type: "radio",
      search: true,
      dicData: [
        { label: '赢', value: 'WIN' },
        { label: '输', value: 'LOSS' },

      ]
    }
  ]
}
